package com.ccq;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
@Component
@PropertySource(value={"classpath:config/mail.properties"},encoding="utf-8")

public class MailConfig {
	@Value("${mail.sendFrom}")
	public String sendFrom;
	@Value("${mail.sendTo}")
	public String sendTo;
	@Value("${mail.sentSubject}")
	public String sentSubject;
	@Value("${mail.sentText}")
	public String sentText;
	
}
